package com.yjdb.sanyuantang.common.entity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;


@Data
@TableName("app_table")
@Schema(name = "app_table")
public class AppTable implements Serializable {

    /**
    * 餐厅id
    */
    @TableId(type = IdType.AUTO)
    @Schema(description="餐厅id")
    private Integer id;


    /**
    * 包厢或大厅名称
    */
    @TableField("name")
    @Schema(description="包厢或大厅名称")
    private String name;


    /**
    * 餐厅位置
    */
    @TableField("address")
    @Schema(description="餐厅位置")
    private String address;


    /**
    * 容纳人数(0-4,4-6)
    */
    @TableField("person")
    @Schema(description="容纳人数(0-4,4-6)")
    private String person;


    /**
    * 数量
    */
    @TableField("num")
    @Schema(description="数量")
    private Integer num;


    /**
    * 图片
    */
    @TableField("pic")
    @Schema(description="图片")
    private String pic;


    /**
    * 0 为删除 1 已删除
    */
    @TableField("is_delete")
    @Schema(description="0 为删除 1 已删除")
    private Integer isDelete;


    private static final long serialVersionUID = 1L;
}
